var instellingen = {};

//handleiding, credits, (tags voor groeperen/zoeken in gallerij?/export functie?)

instellingen.build = function() {

	Ti.Media.vibrate([0, 35]);
	
	win = Ti.UI.createWindow ({
	    backgroundColor: '#fff',
	    layout: 'vertical',
	    navBarHidden:true,
	    url: 'instellingen.js'
	});                  
	
	var header = Ti.UI.createView({
	   width: Ti.UI.FILL,
	   height: '85dip',
	   backgroundImage: '/images/header.png',
	   top: 0
	});
	var title = Ti.UI.createLabel({
	    color: '#fff',
	    font: {fontSize:'20dip' },
	    top: '18dip',
	})
    title.text = 'Instellingen';
	
	header.add(title);
	win.add(header);
	
	if(Ti.Platform.name != 'android')
    {
        var backButton = Ti.UI.createButton({
            title: 'Terug', 
            left: '10dip',
            top: '10dip',
            width: Ti.UI.SIZE,
            height: Ti.UI.SIZE,
            color: '#090C16',    
            visible: true
        });
        
        backButton.addEventListener('click', function() {
            win.close;
        });
        
        header.add(backButton);
  	}
	
	win.open();

}